import axios from "axios";

const server = axios.create({
  baseURL: "http://localhost:8080/"
});

server.interceptors.response.use(
  response => {
    return response.data;
  },
  error => {
    console.log(error);
  }
);

export default server;
